<?php

?>
<table>
    <tr>
        <td>DDI:</td>
        <td>
            <input type="text" name="ddi" size="3" maxlength="2" onkeypress="mascara(this,soNumeros)"></input>
        </td>
    <tr>
        <td>DDD:</td>
        <td>
            <input type="text" name="ddd" size="3" maxlength="3" onkeypress="mascara(this,soNumeros)"></input>
        </td>
    </tr>
    <tr>
        <td>Número:</td>
        <td>
            <input type="text" name="numero" size="10" maxlength="9" onkeypress="mascara(this,telefone)"></input>
        </td>
    </tr>
    <tr>
        <td>Tipo:</td>
        <td>
            <select name="tipo">
                <option value="Residencial" selected="true">Residencial</option>
                <option value="Celular">Celular</option>
                <option value="Comercial">Comercial</option>
                <option value="Recado">Recado</option>
            </select>
        </td>
    </tr>
    <tr>
        <td colspan="2" align="right">
            <input type="button" onclick="cli_listar_telefone();" value="Cancelar"></input>
            <input type="button" onclick="cli_incluir_telefone();setTimeout('cli_listar_telefone()', 5000);" value="Cadastrar"></input>
        </td>    
    </tr>
</table>
